package com.example.vehicle.Function;

import cn.hutool.crypto.symmetric.SymmetricCrypto;

/**
 * @name: SM4Test
 * @description: 测试用SM4加解密类。
 * @author: Lulu Zhao
 **/
public class SM4Test {

    static SymmetricCrypto sm4 = new SymmetricCrypto("SM4/ECB/PKCS5Padding");
    static byte[] key = sm4.getSecretKey().getEncoded();

    /**
     * @name: main
     * @description: 主函数。
     * @params: [args]
     * @return: void
     * @author: Lulu Zhao
     */
    public static void main(String[] args) {
        System.out.println(key.length);
    }
}
